package com.jy.api.aspect;

import java.lang.annotation.*;

@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
public @interface RedisLocker {
    String lockKey();

    /**
     * 保持占据的时间(秒)
     */
    int holdTime();
}
